include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/lib/simulator/include)

file(GLOB llvm_srcs CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/lib/simulator/src/*.cpp
        ${PROJECT_SOURCE_DIR}/lib/simulator/src/*/*.cpp
        ${PROJECT_SOURCE_DIR}/src/*/*.cpp)

add_executable(SPEEDUP-CASE-001 SPEEDUP-CASE-001.cpp ${llvm_srcs})
target_link_libraries(SPEEDUP-CASE-001 ${llvm_libs})

add_executable(SPEEDUP-CASE-003 SPEEDUP-CASE-003.cpp ${llvm_srcs})
target_link_libraries(SPEEDUP-CASE-003 ${llvm_libs})

add_executable(SPEEDUP-CASE-004 SPEEDUP-CASE-004.cpp ${llvm_srcs})
target_link_libraries(SPEEDUP-CASE-004 ${llvm_libs})

add_executable(SPEEDUP-CASE-004-static SPEEDUP-CASE-004-static.cpp ${llvm_srcs})
target_link_libraries(SPEEDUP-CASE-004-static ${llvm_libs})

add_executable(SPEEDUP-CASE-005-static SPEEDUP-CASE-005-static.cpp ${llvm_srcs})
target_link_libraries(SPEEDUP-CASE-005-static ${llvm_libs})

add_executable(SPEEDUP-CASE-005 SPEEDUP-CASE-005.cpp ${llvm_srcs})
target_link_libraries(SPEEDUP-CASE-005 ${llvm_libs})

add_executable(SPEEDUP-CASE-006 SPEEDUP-CASE-006.cpp ${llvm_srcs})
target_link_libraries(SPEEDUP-CASE-006 ${llvm_libs})

add_executable(SPEEDUP-CASE-006-static SPEEDUP-CASE-006-static.cpp ${llvm_srcs})
target_link_libraries(SPEEDUP-CASE-006-static ${llvm_libs})